export USE_CCACHE=1
export CCACHE_DIR=$HOME/.ccache
prebuilt/linux-x86/ccache/ccache -M 30G

source build/envsetup.sh
if [ -z "$1" ]
then
    suffix="all"
else
    suffix=$1
fi
time_start=`date +%s`
(echo "start @@@@@@@ `date`" ;\
make -j3 "$suffix" 2>&1 ; \
time_used=$(($(date +%s) - $time_start)); \
echo "end @@@@@@@ using time $(($time_used/60)) mins $(($time_used%60)) secs"\
) | tee mymakelog_"$suffix".`date +%Y%m%d-%H%M%S`
